package com.gp.model.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.gp.model.entity.BasePermission;

/**
 * @author: 弓成龙
 * @date  : 2018年2月11日
 * @email : gcx909109@sina.cn
 * @description:  权限信息封装
 */
public class PermissionDto implements Serializable{
  
  private static final long serialVersionUID = 5475231446410003462L;

  /**
   * 传入的权限
   */
  private BasePermission currentPermission;
  
  /**
   * 其对应的子权限
   */
  private List<BasePermission> list = new ArrayList<BasePermission>();
  
  /**
   *  其对应的父权限
   */
  private BasePermission parentPermission;

  public BasePermission getCurrentPermission() {
    return currentPermission;
  }

  public void setCurrentPermission(BasePermission currentPermission) {
    this.currentPermission = currentPermission;
  }

  public List<BasePermission> getList() {
    return list;
  }

  public void setList(List<BasePermission> list) {
    this.list = list;
  }

  public BasePermission getParentPermission() {
    return parentPermission;
  }

  public void setParentPermission(BasePermission parentPermission) {
    this.parentPermission = parentPermission;
  }
  
  
}

